package com.yanqu.road.entity.enums;

/**
 * @author duli
 * @version 1.0
 * @date 2020/9/15 18:18
 * @Description 商城类型
 */
public enum ePushShopType {

    IngotsMall(10,"元宝商城，只能通过充值购买"),

    NormalPropMall(11,"通用道具商城"),

    GoodsBagMall(12,"礼包商城"),

    TradeWarIntegralMall(13,"商战积分商城"),

    EstateWarMall(17,"乔迁风云商城"),

    SpecialMall(18,"特惠礼包，限时充值"),

    UnionMall(22,"商会商城"),

    SecretVolumeMall(29,"密卷商城(按照期数限购的)"),

    CommonActivityBuyMall(100,"万能活动购买商城"),

    CommonActivityExchangeMall(101,"万能活动兑换商城"),

    RMBMallActivityMall(102,"现金礼包商城"),

    CrossTradeWarActivityMall(103,"跨服商战活动商城"),

    OreWarActivityMall(104,"盐场活动商店类型"),

    CrossRankActivityIngotMall(105,"跨服冲榜活动元宝商城"),

    CrossRankActivityRMBMall(106,"跨服冲榜活动现金商城"),

    PageantActivityMall(107, "选美大会兑换商店"),

    CrossHolidayActivityMall(108, "灵猫献宝活动商城(节日活动)"),

    MysteriousMerchantMall(109, "神秘商人商店"),

    CrossRankActivityExchangeMall(110, "跨服冲榜兑换商店"),

    HuaShiGangExchangeMall(111, "花石纲兑换商店"),

    HuaShiGangMoneyMall(112, "花石纲现金礼包"),

    ThrowingPotMall(113,"投壶兑换商店"),

    YearMasterMall(114,"瑞兽降福兑换商店"),

    TreasureMall(115,"灵狐聚宝兑换商店"),

    PplMall(117, "泡泡龙兑换商店"),

    ;

    private String name;

    private int intValue;

    ePushShopType(int value,String name) {
        intValue = value;
        this.name = name;
    }

    public static ePushShopType forValue(int value) {
        for (ePushShopType type : ePushShopType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }

    public int getValue() {
        return intValue;
    }

    public String getName() {
        return name;
    }
}
